﻿using Myotragus.Data.Domain;
using NHibernate.Criterion;

namespace Myotragus.Data.Criteria
{
	public abstract class EntityProjector<TEntity> : IEntityProjector<TEntity>
		where TEntity : IEntity
	{
		public IProjection GetProjection()
		{
			return GetProjection(null);
		}

		public abstract IProjection GetProjection(string path);
	}
}